import * as React from "react";
import Styled from "./styles.scss";
interface IButtonProps {
    [x: string]: any;
}

interface IButtonState {
    [x: string]: any;
}

class Button extends React.Component<IButtonProps, IButtonState> {

    constructor(props: IButtonProps) {
        super(props);
    }

    public render() {
        return (
            <div
                className={Styled.button + " " + Styled.blue + " " + Styled.small}
                style={{ top: this.props.top, left: this.props.left }}
            >
                <i />
                <span className={Styled.position}>{this.props.label}</span>
            </div>
        );
    }
}
export default Button;
